import App from './App'
import Vue from 'vue'
import uView from "uview-ui";
import utils from "./js/utils";
import config from "./js/config";
import api from "./js/request";
import api_company from "./js/request_company";
import share from '@/js/share.js'
import { format } from "timeago.js";
import empty from "@/components/empty";

Vue.component("Empty", empty);
Vue.config.productionTip = false
Vue.prototype.$utils = utils
Vue.prototype.$config = config
Vue.prototype.$api = api
Vue.prototype.$api_company = api_company
App.mpType = 'app' 
Vue.mixin(share)
Vue.use(uView);
Vue.filter("changeTime", function(dateStr) {
  return format(dateStr, "zh_CN");
});
const app = new Vue({
	...App
})
app.$mount()